<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>绑定动态参数</title>
</head>
<body>
<div id="app">
    <a href="https://www.scct.cn">陕交职院</a>
    <br>

    <a v-bind:[attribute_name]="attribute_value">陕交职院</a>
    <br>

    <a v-bind:[attrname]="attribute_value">陕交职院</a>
</div>
<script type="module">

    import {createApp} from "../../../../js/vue.esm-browser.js";

    const app = createApp({
        setup() {
            return {
                attribute_name: "href",
                attribute_value: "https://www.scct.cn",

                attrname:"href",
            }
        }
    })
    app.mount("#app")
</script>
</body>
</html>